package com.aididi.service;

import com.aididi.consumer.ConsumerClientFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: zx.xu
 * @Description:
 */
@Service
public class ConsumerService {

    @Autowired
    ConsumerClientFeign consumerClientFeign;

    public String getInfo(String name){
        return consumerClientFeign.sayHiFromClientEureka(name);
    }

}
